<template>
	<view class="container">
		<rich-text :nodes="content"></rich-text>
	</view>
</template>

<script>
	export default {
		onShow() {
			let it = this;
			this.tui.request('member/login/protocol','GET',{}).then(function(res){
				if(res.code ==1){
					it.content = res.data.content;
				}
			})
		},
		data() {
			return {
				content:'',
			}
		},
		methods: {
			
		}
	}
</script>


<style lang="scss">
.container {
	width: 100%;
	padding: $uni-spacing-row-lg;
	box-sizing: border-box;
	padding-bottom: 48rpx;
	.tui-text {
		font-size: $uni-font-size-sm;
		text-indent: 2em;
		color: $uni-text-color;
		padding-bottom: $uni-spacing-col-sm;
		tui-text-align: justify;
	}
	.tui-sub {
		padding-left: $uni-spacing-row-sm;
	}
}
</style>
